package leetcode.string;

import leetcode.string.common.StringUtils;

class Solution14 {
    public String longestCommonPrefix(String[] strs) {
        return StringUtils.longestCommonPrefix(strs);
    }
}

public class leetcode14 {
    public static void main(String[] args) {
        Solution14 solution14 = new Solution14();
        String[] strs = {"flower","flow","flight"};
        System.out.println(solution14.longestCommonPrefix(strs));
    }
}
